<?php
/**
 * Created by PhpStorm.
 * User: 沁塵
 * Date: 2019/4/20
 * Time: 19:58
 */

namespace app\api\model;

class ChimiEventV3 extends BaseModel
{
    protected $table = 'chimi_event_v3';

    protected $autoWriteTimestamp = 'datetime';

    public function zimu()
    {
        return $this->hasOne('chimi_zimu_event', 'id', 'z_id')->field("id,audio");
    }
}